import { Type } from "./type"
import { Day } from "./day"
import { User } from "./user"
import { Milestone } from "./milestone"

export class Project {
  id: string
  type_id: string
  type: Type
  name: string
  desc: string
  leader_id: string
  leader: User
  demander_id: string
  demander: User
  importance: number
  priority: number
  s_date: string
  e_date: string
  days: Array<Day>
  work_days: number
  used_days: number
  remain_days: number
  completion: number
  user_count: number
  created_by: User
  created_at: Date
  modified_by: User
  modified_at: Date
  plan_id: string
  milestones_attributes?: Array<Milestone>
}
